<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../js/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link href="../../css/share/common.css" rel="stylesheet" />
		<link href="../../css/shopping/dianpu.css" rel="stylesheet" />
	</head>

	<body ng-app="myApp" ng-controller="dianpu" ng-cloak>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left header-left"></a>
			<a class="mui-icon  mui-pull-right header-right-text" onclick="openBuyCar()"><img src="../../image/shopping/u45.png"></a>
			<h1 class="mui-title">
				<input type="button" value="本店搜索"  onclick="openSearchProduct()" />
			</h1>
		</header>
		<div class='mui-content'>
			<div id="to_top"><img src="../../image/backtop.png"></div>
			<div class="main_banner">
				<img src="../../image/shopping/banner.png" class="banner">
				<div class="main_logoname">
					<span ng-cloak>{{shopName}}</span>
				</div>
				<ul class="main_seller">
					<li><img src="../../image/shopping/chengxinmaijia.png">诚信卖家
					</li>
					<li><img style="height:15px;margin-bottom:12px;margin-top:4px" src="../../image/shopping/youzhifuwu.png">优质服务
					</li>
				</ul>
			</div>
			<div class="mian_productNum box_orient_h">
				<div class="main_pn_con current" id="d1" ng-click="jumpToBC(0);">
					<!--<div class="main_pn_n">
						{{goodsNum.allCount}}
					</div>-->
					<div class="main_pn_name">
						全部商品
					</div>
				</div>
				<div class="main_pn_con" ng-click="jumpToBC(1);">
					<!--<div class="main_pn_n">
						{{goodsNum.newCount}}
					</div>-->
					<div class="main_pn_name">
						最新上架
					</div>
				</div>
				<div class="main_pn_con" ng-click="jumpToBC(2);">
					<!--<div class="main_pn_n">
						{{goodsNum.promotionCount}}
					</div>-->
					<div class="main_pn_name">
						爆款商品
					</div>
				</div>
				<div class="main_pn_con" style="border:0px;" ng-click="jumpToBC(3);">
					<!--<div class="main_pn_n">
						{{goodsNum.explosionCount}}
					</div>-->
					<div class="main_pn_name">
						促销专区
					</div>
				</div>
			</div>
			<div class="gundongtiao" id="gundongtiao">
				<div class="meau clearfix">
					<a ng-repeat="sort in sorts" id={{sort.id}} ng-click="all_products(sort.id)">{{sort.name}}</a>
				</div>
			</div>
			<div class="main_product_con dangqian" infinite-scroll="loadMore()" infinite-scroll-distance="0">
				<h4 id="name">全部商品</h4>
				<ul class="mian_pro_list clearfix">
					<li ng-repeat="alls in goodsAll" ng-click="detail(alls.id)">
						<div class="main_img" style="height:{{alls.height}}">
							<!--<img src={{alls.picture}} onload="initImg(this)">-->
							<img src="" data-echo={{alls.picture}} />
							<span ng-show="alls.cu">促</span>
						</div>
						<div class="main-text">
							<p class="texthidden">
								{{alls.name}}
							</p>
							<span class="zhuan-price" ng-show="alls.hide">{{alls.pricename}}</span>
							<br>
							<span class="newprice">￥{{alls.nowprice}}</span><span class="price"> ￥{{alls.price}}</span>
						</div>
					</li>
				</ul>
			</div>
			<div class="main_product_con cuxiaozhuanqu" id='cuxiaozhuanqu'>
				<ul class="mian_pro_list cxhd clearfix" ng-repeat="alls in goodsPromotion" ng-click="openCxhd(alls)">
					<p id="huodong">{{alls.promotionName}}</p>
					<li ng-repeat="goodlists in alls.list">
						<div class="main_img"><img src={{goodlists.picture}} onload="zhuanqu(this)"></div>
						<div class=" cxsp">
							<p class="texthidden">{{goodlists.name}}</p>
							<span class="newprice">￥{{goodlists.nowPrice}}</span><br /><span class="price">￥{{goodlists.price}}</span>
						</div>
					</li>
				</ul>
			</div>
		</div>

	</body>
	<script src="../../js/echo.min.js"></script>
	<script src="../../js/common.js"></script>
	<script src="../../js/localData.js"></script>
	<script src="../../js/md5.js"></script>
	<script src="../../js/request.js"></script>
	<script src="../../js/angular.min.js"></script>
	<script src="../../js/ng-infinite-scroll.min.js"></script>
	<script src="../../js/backtop.js"></script>
	<script src="../../script/shopping/dianpu.js"></script>

</html>